import { filePrefix } from '@/config'

export function formatPhone(phone = '') {
	return phone.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2')
}

export function getFilePath(path) {
	return filePrefix + path
}